package com.zjsru.service.impl;

import com.zjsru.pojo.User;
import com.zjsru.service.UserService;
import com.zjsru.mapper.UserMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class UserServiceImpl implements UserService {

    @Autowired
    private UserMapper userMapper;

    @Override
    public User getUserById(Long id) {
        return userMapper.findById(id);
    }

    // Additional methods for user service can be added here
}